package com.hxgis.common.enums;

import lombok.Getter;

@Getter
public enum DayRangeEnum {
    XIAOYU(0.1D, 10D, "小雨"),
    ZHONGYU(10D, 25D, "中雨"),
    DAYU(25D, 50D, "大雨"),
    BAOYU(50D, 100D, "暴雨"),
    DABAOYU(100D, 250D, "大暴雨"),
    TEDABAOYU(250D, 2000D, "特大暴雨"),
    ;

    DayRangeEnum(Double lowValue, Double upperValue, String flag) {
        this.lowValue = lowValue;
        this.upperValue = upperValue;
        this.flag = flag;
    }

    // 左侧值
    private Double lowValue;

    // 右侧值
    private Double upperValue;

    // 标识
    private String flag;



}
